#!/bin/bash


baseDir=/home/ocdc/to-hdfs

cd $baseDir/etc

export CLASSPATH=$CLASSPATH:$baseDir/kafka-hdfs-libs/*
export LOG_DIR=$baseDir/logs
export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:$baseDir/etc/connect-log4j.properties"

nohup $baseDir/kafka_2.11-0.10.0.0/bin/connect-standalone.sh fw-standlone.properties fw-hdfs.properties   >/dev/null 2>&1 &  
